Ext.ns("examineePanelApply");
examineePanelApply.init = function() {
	examineePanelApply.big_Id;
	examineePanelApply.lcm = new Ext.grid.ColumnModel([
			new Ext.grid.RowNumberer(), {
				header : '考生姓名',
				dataIndex : 'user_Name',
				sortable : true,
				width : 130
			}, {
				header : '所在城市',
				dataIndex : 'city',
				sortable : true,
				width : 80
			}, {
				header : '所在地区',
				dataIndex : 'region',
				sortable : true,
				width : 110
			}]);

	examineePanelApply.lstore = new Ext.data.JsonStore({
				url : 'center/searchArrangeForExaminee',
				totalProperty : 'total',
				root : 'examinees',
				fields : [{
							name : "user_Identity_Id",
							mapping : 'user_Identity_Id',
							type : 'int'
						}, {
							name : "user_Name",
							mapping : 'user_Name',
							type : 'string'
						}, {
							name : "city",
							mapping : 'city',
							type : 'string'
						}, {
							name : "region",
							mapping : 'region',
							type : 'string'
						}]
			});

	examineePanelApply.leftPanel = new Ext.grid.GridPanel({
				cm : examineePanelApply.lcm,
				store : examineePanelApply.lstore,
				viewConfig : {
					columnsText : '选择显示列',
					forceFit : true
				},
				loadMask : true,
				height : 300,
				frame : true
			});
	examineePanelApply.Main = new Ext.Window({
				region : "center",
				id : "examineePanelApplyMainPanel",
				deferredRender : true,
				closeAction : 'hide',
				loadMask : true,
				autoScroll:true,
				width : 300,
				height : 300,
				closable : true,
				modal : true,
				progress : true,
				draggable : true,
				resizable : false,
				viewConfig : {
					forceFit : true
				},
				items : [examineePanelApply.leftPanel]
			});
	examineePanelApply.Main.on("show", function() {
				examineePanelApply.Main.setTitle(examineeApply.menuClick
						.get("name")
						+ '考场'
						+ '——'+
				'地区：'
						+ examineeApply.menuClick.get("city")
						+ '市'
						+ examineeApply.menuClick.get("region"));
			});
};
Ext.onReady(examineePanelApply.init);